package xml;

/**
 * @author Sorica Alexandra
 * @date 6.12.2011
 * @version 1.0
 */

import java.util.ArrayList;

public class TagXML {
        public TagXML father=null;
        public ArrayList<TagXML> Taguri=new ArrayList<TagXML>();
        public ArrayList<Attribute>Atribute=new ArrayList<Attribute>();
        public String name=null;
        public String value=null;
        public AddAttribute atribAdder= new AddAttribute();
        public DeleteAttribute atribDeleter=new DeleteAttribute();
        public AddTag tagAdder=new AddTag();
        public DeleteTag tagDeleter =new DeleteTag();
        
        public TagXML() {
                super();
        }
        public TagXML(TagXML father){
                this.father = father;
        }
        public TagXML(TagXML father, String name, String value){
                this.father = father;
                this.name = name;
                this.value = value;
        }
        public TagXML(TagXML father, String name){
                this.father = father;
                this.name = name;
        }
        public TagXML(String name){
                this.name = name;
        }
        public TagXML(String name, String value){
                this.name = name;
                this.value = value;
        }

        public String getValue() {
                return value;
        }
        public void setValue(String value) {
                this.value = value;
        }
        public ArrayList<TagXML> getTaguri() {
                return Taguri;
        }
        public ArrayList<Attribute> getAtribute() {
                return Atribute;
        }
        public void setName(String name) {
                this.name = name;
        }
        public void addAttrib(Attribute a){
                
        }
        public void deleteAttrib(Attribute a){
                
        }
        public void addSonAttrib(Attribute a, TagXML t){
                
        }
        public void deleteSonAttrib(Attribute a, TagXML t){
                
        }
        public void addTag(TagXML t){
                
        }
        public void deleteTag(TagXML t){
                
        }
        
        

}
